#ifndef __WORKER__
#define __WORKER__

#include <54func.h>

typedef struct tidArr_s{
    //线程id
    pthread_t * arr;
    //线程数量
    int workerNum;
}tidArr_t;

int workerInit(tidArr_t *ptidArr, int workerNum);
void unlock(void * arg);
void *threadFunc(void * arg);
#endif